﻿@import "../../_theme";

#qtn-mgr{
    padding:1rem;

}

#qtn-searchbox{
    float:right;
    width:30rem;
    margin:0;
    &>input{
        height:3rem;
        line-height:3rem;
    }
    &>button{
        padding:0 1rem;
        height:3rem;
        line-height:3rem;
    }
}

#qtn-list{

}

.no-inquiry {
    height: 20rem;
    padding-top: 10rem;
    width: 100%;
    text-align: center;

    & > span {
        display: inline-block;
        height: 96px;
        width: 96px;
        background-image: url('/UI/imgs/icon-tags.png');
        background-repeat: no-repeat;
        background-position: -444px -115px;
    }
}

.inquiry-info {
    & > .row {
        border-radius: 2px;
        transition: all linear .2s;

        &:hover {
            background-color: $ClrTheme;
            color: $ClrThemeHotTxt;
            box-shadow: 4px 2px 5px 0 #808080;
        }

        &>a{
            position:absolute;
            width:100%;
            height:100%;
            z-index:1;
            right:0;
            top:0;
        }
    }
}

.ii-head{
    text-align:center;
    padding:2rem 0;
    &>.iq-status{
        display:inline-block;
        width:4rem;
        height:4rem;
        font-size:4rem;

        &>.icon-tender{
            color:$ClrOk;
        }

        &>.icon-remove-outline{
            color:$ClrImportant;
        }

        &>.icon-to-quotation{
            color:$ClrImportant;
        }
    }
}

.etd {
    border-radius: 20px;
    width: 70%;
    display: inline-block;
    margin-top: 10px;
    padding: 4px;
    overflow: hidden;
    box-shadow: 0 0 5px 0 gray;
    background-color: $ClrControllerBk;
    color: $ClrTheme;

    &.end {
    }

    &.to-quotation {
        background-color: $ClrFocus;
        color: $ClrFocusTxt;
        font-weight: bold;

        &.hot {
            background-color: $ClrImportant;
        }
    }

    &.give-up {
        border: $ClrImportant;
        color: $ClrImportant;
        box-shadow: 0 0 5px 0 $ClrImportant;
    }

    &.picketaged {
        color: $ClrOk;
        box-shadow: 0 0 5px 1px $ClrOk;
    }
}

.ii-info{
    padding-top:1.4rem;
    overflow:hidden;
}

.ii-process{
 text-align:center;
 padding-top:2rem;
}

.iip-step {
    display: inline-block;
    overflow: hidden;

    & > span {
        display: inline-block;
        padding: 0 2rem;
        height: 1.6rem;
        line-height: 1.6rem;
        margin: 0;
    }

    &.unstart{
        & .line,.node{
            background-color:$ClrDisable !important;
        }
    }
}

.iips-picketaged{
    background-color:$ClrOk;
    color:$ClrThemeHotTxt;
    box-shadow:2px 3px 1px 0 $ClrThemeTxt;
}
.iips-urgent {
    background-color: $ClrImportant;
    color: $ClrThemeHotTxt;
    box-shadow: 2px 3px 1px 0 $ClrThemeTxt;
}
.iips-hot {
    background-color: $ClrFocus;
    color: $ClrFocusTxt;
    box-shadow: 2px 3px 1px 0 $ClrThemeTxt;
}

.node {
    position: absolute;
    top: -7px;
    margin-left: -7px;
    left:50%;
    width: 14px;
    height: 14px;
    border-radius: 14px;
    background-color: $ClrFocus;
    display: inline-block;
}

.line {
    position: absolute;
    top: -1px;
    height: 2px;
    background-color: $ClrFocus;
}

.iips-line-bgn {
    display: inline-block;
    width: 100%;
    margin:20px 0 10px 0;
    &> .line {
        left:50%;
        width: 50%;
    }
}
.iips-line {
    display: inline-block;
    width: 100%;
    margin: 20px 0 10px 0;

    & > .line {
        left: 0;
        width: 100%;
    }

    &.active {
        &:after {
            content: ' ';
            position: absolute;
            top: -12px;
            margin-left: -12px;
            left:50%;
            width: 20px;
            height: 20px;
            border-radius: 20px;
            border: 2px solid $ClrFocus;
            display: inline-block;
        }
    }
}
.iips-line-end {
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 20px 0 10px 0;

    & > .line {
        left: 0;
        width: 50%;
    }

    &.picketaged {
        & > .node {
            background-color: transparent;

            & > .soicon-m {
                position: absolute;
                color: $ClrOk;
                transform: scale(2);
                left: 0;
                z-index: 2;
            }
        }
    }

    &.active {
        &:after {
            content: ' ';
            position: absolute;
            left:50%;
            top: -12px;
            margin-left: -12px;
            width: 20px;
            height: 20px;
            border-radius: 20px;
            border: 2px solid $ClrFocus;
            display: inline-block;
        }
    }
}